﻿Public Class Details
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If IsPostBack = False Then
            Session("cid") = Request.QueryString("id")
            SqlDataSource1.Update()


        End If
    End Sub

 
    Protected Sub LikeRating_Disposed(ByVal sender As Object, ByVal e As EventArgs)

    End Sub

    Protected Sub FormView2_ItemInserting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewInsertEventArgs) Handles FormView2.ItemInserting
        Dim rating As AjaxControlToolkit.Rating = CType(Me.FormView2.FindControl("LikeRating"), AjaxControlToolkit.Rating)
        Session("rating") = rating.CurrentRating
    End Sub
End Class